<template>
	<div>
		<baseSelect ref="baseSelect" :defaultValue="defaultValue" :optionList="options" @change="changeHandel"></baseSelect>
	</div>
</template>

<script>
import baseSelect from "@/view/components/select/select";
export default {
    components: {
        baseSelect
    },
    props: [
        "defaultValue"
    ],
    data() {
        return {
            options: [{
                value: '',
                label: '全部'
            }, {
                value: '0',
                label: '主机'
            }, {
                value: '1',
                label: '容器'
            }, 
            // {
            //     value: '2',
            //     label: '应用'
            // }
            ],
        }
    },
    methods: {
        changeHandel(name, v) {
            this.$emit("change", "gaojinguizeTypeSelect", v)
        },

        reset() {
            this.$refs.baseSelect.reset()
        }
    }
}

</script>

<style>
</style>